//
//  ComposeViewController.m
//  OC-微博
//
//  Created by Apple on 15/11/16.
//  Copyright © 2015年 Apple. All rights reserved.
//

#import "ComposeViewController.h"
#import "ComposeView.h"
@interface ComposeViewController ()
@property (nonatomic, strong) ComposeView *comView;
@end

@implementation ComposeViewController
#pragma mark /*******************  视图生命周期  *******************/
- (void)loadView {
   
    self.view = self.comView;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
}
- (void)viewDidAppear:(BOOL)animated {

    [self.comView.textView becomeFirstResponder];
}
#pragma mark /*******************  懒加载  *******************/
//懒加载
-(ComposeView *)comView {
    
    if (_comView == nil) {
        _comView = [ComposeView new];
    }
    return _comView;
}

@end
